<div class="dialog-body">
    <ul class="dialog-body-ul role_left_ul">
        <li class="dialog-body-li">
            <div class="dialog-body-item">
                <div class="dialog-label">角色代码</div>
                <div class="dialog-content">
                    <input type="text" class="layui-input" ng-model="ngDialogData.role.code"/>
                </div>
            </div>
        </li>
        <li class="dialog-body-li">
            <div class="dialog-body-item">
                <div class="dialog-label">角色名称</div>
                <div class="dialog-content">
                    <input type="text" class="layui-input" ng-model="ngDialogData.role.name"/>
                </div>
            </div>
        </li>
        <li class="dialog-body-li">
            <div class="dialog-body-item">
                <div class="dialog-label">状态</div>
                <div class="dialog-content">
                    <ui-select ng-model="ngDialogData.dropDownDefault.status">
                        <ui-select-match>
                            <span ng-bind="$select.selected.name" ></span>
                        </ui-select-match>
                        <ui-select-choices repeat="status in (ngDialogData.status | filter: $select.search)">
                            <span ng-bind="status.name"></span>
                        </ui-select-choices>
                        <ui-select-no-choice>
                            没有加载到数据
                        </ui-select-no-choice>
                    </ui-select>
                </div>
            </div>
        </li>
    </ul>
    <div class="role_right_tree">
        <div class="ztree permissionsZtree" style="overflow: initial" id="permissionsZtree"></div>
    </div>
    <div class="dialog-toolbar">
        <button class="layui-btn" ng-click="saveOrUpdateRoleClick()">保存</button>
        <button class="layui-btn" ng-click="closeThisDialog()">取消</button>
    </div>
</div>

